package com.sand.entity.shopping;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("shopping")
public class shopping {

    @TableId(value = "id" , type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField(value = "name")
    private String name;

    @TableField(value = "spec")
    private String spec;

    @TableField(value = "price")
    private Integer price;

    @TableField(value = "cost")
    private Integer cost;

    @TableField(value = "source")
    private Integer source;

    @TableField(value = "exist")
    private Integer exist;
}
